package design.mode.visitor.item3;

/**
 * /**
 *
 * @author ZhongMingde on 2021/11/20
 */

public class Compressor {
  
  public void compress(PPTFile pptFile) {
    //...
    System.out.println("compress PPT.");
  }

  public void compress(PdfFile pdfFile) {
    //...
    System.out.println("compress PDF.");
  }

  public void compress(WordFile wordFile) {
    // ...
    System.out.println("compress WORD.");
  }

}
